package com.servicea.client;

/**
 * @Author linlx
 * @Date 2021/8/8 16:34
 * @Description
 **/

import com.sml.aop.sml.SMLFeignAnnotation;
import com.sml.requset.ApiRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "ServiceB")
@Service
public interface ServiceBFeign {

  @RequestMapping("/testLogB")
  @SMLFeignAnnotation
  String testLog(@RequestBody ApiRequest request);

  @RequestMapping("/testLogThirdB")
  @SMLFeignAnnotation
  String testLogThird(@RequestBody ApiRequest request);

}
